ExamPlay Light Logo
Войти

Computer Science for IGCSE & O level - Programming (Section 12 - No. 26)

In the context of file handling, what does the 'w' mode signify when opening a file (e.g., `myFile = open('example.txt', 'w')`)?
Read mode
Write mode
Append mode
Binary mode

Объяснение

'w' stands for write mode. This allows you to write content to a file. If the file doesn't exist, it is created; if it exists, its content is overwritten.

Комментарии (0)

Войдите, чтобы оставить комментарий
Реклама
BrainBehindX Inc Logo
©2026; Питаться от BrainBehindX Inc